<template>
	<view class="main">
		<view class="box">
			<image src="@/static/img/successBg.png" mode=""></image>
			<p>支付成功</p>
			<view class="btn" @tap="routerTo">
				返回首页
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		onLoad() {
			
		},
		methods:{
			routerTo(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.main{
		width: 100vw;
		height: 100vh;
		background-color: #fff;
		display: flex;
		align-items: center;
		.box{
			width: 100vw;
			display: flex;
			flex-direction: column;
			align-items: center;
			image{
				width: 134px;
				height: 92px;
				margin-bottom: 12px;
			}
			p{
				color: #3D3D3D;
				margin-bottom: 25px;
			}
			.btn{
				color: #0A80F7;
				border-radius: 100px;
				border: 1px solid #0A80F7;
				padding: 10px 35px;
			}
		}
	}
</style>